import http from './http.js';

let con = type => {
	return http.get({
		url: "/dict/all",
		param: {
			type,
		}
	});
};

export default {
	myfs: () => {
		return con("myfs");
	},

	region: (code, scode) => {
		return http.get({
			url: "/region/info",
			param: {
				code, scode
			}
		});
	},

};